using System.Collections.Generic;

namespace ObjFileLoader.Data.Elements
{
	public class Face
	{
		private readonly List<FaceVertex> _vertices = new List<FaceVertex>();

		public FaceVertex this[int i] => _vertices[i];

		public int Count => _vertices.Count;

		public void AddVertex(FaceVertex vertex)
		{
			_vertices.Add(vertex);
		}
	}
}
